package cn.bgs.mapper;

import cn.bgs.pojo.Building;
import cn.bgs.pojo.Portal;
import cn.bgs.vo.CommunityVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 楼栋表 Mapper 接口
 * </p>
 *
 * @author cf
 * @since 2022-06-07
 */
@Mapper
public interface BuildingMapper extends BaseMapper<Building> {

    List<CommunityVo> findinfopc(@Param("communityId") String var1, @Param("houseuse") String var2, @Param("howmany") String var3);

    List<CommunityVo> findHousePc(String communityId, String houseuse, String state);

    void addCommunityPc(Building forms);

    void delPc(Integer id);

    void updateBuildPc(Building formData);

    List<Building> loadPc(Integer id);

    void addPortalPc(Portal forms);

    void delPortalPc(Integer id);
}
